//
//  JMConcernSchoolCell.m
//  VoluntaryStar
//
//  Created by xiaorui on 15/9/2.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import "JMConcernSchoolCell.h"
#import "JMHeader.h"
#import "UIViewExt.h"

@interface JMConcernSchoolCell ()

@property (nonatomic, strong) UILabel *acceptanceRateLabel2;

@end

@implementation JMConcernSchoolCell

- (UIImageView *)iconImageView
{
    if (!_iconImageView) {
        UIImageView *imageView = [[UIImageView alloc]init];
        imageView.image = [UIImage imageNamed:@""];
        imageView.contentMode = UIViewContentModeScaleAspectFill;
        imageView.backgroundColor = [UIColor clearColor];
        _iconImageView = imageView;
    }
    return _iconImageView;
}

- (UILabel *)nameLabel
{
    if (!_nameLabel) {
        UILabel* label = [[UILabel alloc]init];
        label.backgroundColor = [UIColor clearColor];
        label.textColor = [UIColor blackColor];
        label.font = [UIFont systemFontOfSize:14.0f];
        _nameLabel = label;
    }
    return _nameLabel;
}
- (UILabel *)acceptanceRateLabel
{
    if (!_acceptanceRateLabel) {
        UILabel* label = [[UILabel alloc]init];
        label.backgroundColor = [UIColor clearColor];
        label.textColor = [UIColor blackColor];
        label.font = [UIFont systemFontOfSize:14.0f];
        _acceptanceRateLabel = label;
    }
    return _acceptanceRateLabel;
}

- (UILabel *)acceptanceRateLabel2
{
    if (!_acceptanceRateLabel2) {
        UILabel* label = [[UILabel alloc]init];
        label.backgroundColor = [UIColor clearColor];
        label.textColor = [UIColor blackColor];
        label.font = [UIFont systemFontOfSize:14.0f];
        _acceptanceRateLabel2 = label;
    }
    return _acceptanceRateLabel2;
}

- (UIButton *)cancelConcern
{
    if (!_cancelConcern) {
        UIButton *button = [[UIButton alloc]init];
        [button setTitle:@"取消" forState:UIControlStateNormal];
        [button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        [button setTitleColor:UIColorFromRGB(0xeb6100) forState:UIControlStateNormal];
        _cancelConcern = button;
    }
    return _cancelConcern;
}


- (void)awakeFromNib {

}
- (void)layoutSubviews
{
    [super layoutSubviews];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setCellViewWithInfo:(JMConcernSchool *)mode{

}

@end
